package com.zdlog.wenjuan.dao;

import com.zdlog.wenjuan.dataobject.FormInfo;
import com.zdlog.wenjuan.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @program: wenjuanSer
 * @PACKAGE_NAME: com.zdlog.wenjuan.dao
 * @author: Kuaile
 * @create: 2018-02-03 23:25
 **/
public interface UserInfoRepository extends JpaRepository<UserInfo, String> {

    UserInfo findByUsername(String username);


    UserInfo findByEMail(String email);

    UserInfo findByUserId(String userId);

}
